home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / games / ted5.zip / MEMMGR.H < prev    next >
C/C++ Source or Header  |  1993-02-04  |  709b  |  28 lines

  1.  
  2. typedef void _seg * memptr;
  3.  
  4. extern long TTLMainMem;
  5. extern unsigned totalmem;        // total paragraphs available with 64k EMS
  6. extern int    EMSpresent,XMSpresent;
  7.  
  8.  
  9. //==========================================================================
  10.  
  11. //
  12. // public prototypes
  13. //
  14.  
  15. void MMStartup (void);
  16. void MMShutdown (void);
  17. void MMMapEMS (void);
  18. void MMAllocate(memptr *baseptr,long size);
  19. void MMGetPtr (memptr *baseptr,unsigned size);
  20. void MMFreePtr (memptr *baseptr);
  21. void MMSetPurge (memptr *baseptr, int purge);
  22. void MMSortMem (void);
  23. void MMBlockDump (void);
  24. unsigned MMUnusedMemory (void);
  25. unsigned MMTotalFree (void);
  26.  
  27.  
  28. void PatchPointers (void);    // must be present in the main program